package com.chuxing.security.service;

import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

/**
* @author HP
* @description 针对表【t_image】的数据库操作Service
* @createDate 2024-11-29 22:19:14
*/
public interface ImageService {

    /**
     * 上传图片
     * @param file
     * @return
     */
    String uploadImage(MultipartFile file);

    /**
     * 获取图片
     * @param URL
     * @param response
     */
    void getImage(String URL, HttpServletResponse response);

    /**
     * 删除图片
     * @param studentId
     */
    void deleteImageByAdmin(String studentId);
}
